using System;
using System.Collections.Generic;
using System.Text;

namespace App.Modelo
{
    public class ReparacionFallaReportada
    {
        private string falla;

        public virtual string Falla
        {
            get { return falla; }
            set { falla = value; }
        }

        public override string ToString()
        {
            return falla;
        }

        public ReparacionFallaReportada() : base(){ }
        public ReparacionFallaReportada(string Falla)
            : base()
        {
            this.falla = Falla;
        }

        public override bool Equals(object obj)
        {
            if (obj!=null && !(obj is System.DBNull))
                return falla == obj.ToString();
            else
                return base.Equals(obj);
        }

    }
}
